
package ahuy.edu.basic;

import javax.swing.JFrame;

public class MyWindowns extends JFrame{
    public MyWindow(){
    
        setDefaultCloseOperation(EXIT_ON_CLOSE);
        
    }
    public static void main(String[] args) {
        MyWindowns ui = new  MyWindowns();
        ui.setTitle("MY WINDOWS");
        ui.setSize(300,500);
        ui.setLocationRelativeTo(null);
        ui.setVisible(true);
    }
    
}
